gsk: Make repeat nodes deserializable
authorMatthias Clasen <mclasen@redhat.com>
Thu, 21 Sep 2017 01:16:09 +0000 (21:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 21 Sep 2017 03:26:15 +0000 (23:26 -0400)
This was just a simple oversight.

gsk/gskrendernodeimpl.c

index ad6ffdace5de419e72e1438eb42591bae7770193..c5d26b2a2e949842059322129ff91bdf141eea20 100644 (file)
@@ -4373,6 +4373,7 @@ static const GskRenderNodeClass *klasses[] = {
   [GSK_TRANSFORM_NODE] = &GSK_TRANSFORM_NODE_CLASS,
   [GSK_OPACITY_NODE] = &GSK_OPACITY_NODE_CLASS,
   [GSK_COLOR_MATRIX_NODE] = &GSK_COLOR_MATRIX_NODE_CLASS,
+  [GSK_REPEAT_NODE] = &GSK_REPEAT_NODE_CLASS,
   [GSK_CLIP_NODE] = &GSK_CLIP_NODE_CLASS,
   [GSK_ROUNDED_CLIP_NODE] = &GSK_ROUNDED_CLIP_NODE_CLASS,
   [GSK_SHADOW_NODE] = &GSK_SHADOW_NODE_CLASS,
@@ -4398,7 +4399,7 @@ gsk_render_node_deserialize_node (GskRenderNodeType   type,
   if (klass == NULL)
     {
       g_set_error (error, GSK_SERIALIZATION_ERROR, GSK_SERIALIZATION_INVALID_DATA,
-                   "Type %u is not a valid node type", type);
+                   "Type %u is not a valid render node type", type);
       return NULL;
     }